package com.hskn.hss.module.tlempincidental.to;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 */
@Data
@ApiModel(value = "人员杂费修改接口-TO", description = "人员杂费修改接口-TO")
public class UpdateEmpIncidentalTO implements Serializable {
    @ApiModelProperty(value = "id", name = "id", dataType = "String", example = "")
    @NotNull(message = "id不能为空")
    @NotBlank(message = "id不能为空")
    private String id;
    /**
     * 人员id
     */
    @ApiModelProperty(value = "人员id", name = "empid", dataType = "String", example = "")
    @NotNull(message = "姓名不能为空")
    @NotBlank(message = "姓名不能为空")
    private String empid;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id", name = "empdeptid", dataType = "String", example = "")
    private String empdeptid;

    /**
     * 缴费时间
     */
    @ApiModelProperty(value = "缴费时间", name = "paydate", dataType = "Date", example = "")
    @NotNull(message = "缴费时间不能为空")
    private Date paydate;



    /**
     * 费用
     */
    @ApiModelProperty(value = "费用", name = "paycost", dataType = "BigDecimal", example = "")
    private BigDecimal paycost;

    /**
     * 费用类型
     */
    @ApiModelProperty(value = "费用类型", name = "costtype", dataType = "String", example = "")
    private String costtype;

    /**.
     * 附件url
     */
    @ApiModelProperty(value = "附件url", name = "fileurl", dataType = "String", example = "")
    private String fileurl;


    /**
     * 地点
     */
    @ApiModelProperty(value = "地点", name = "addr", dataType = "String", example = "")
    private String addr;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", name = "remark", dataType = "String", example = "")
    private String remark;

}
